import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import ElementIcon from '@element-plus/icons'

import App from './App.vue'
import router from './router'
import store from './store'
import { useRouter } from 'vue-router'
//自定义主题样式
import './element-variables.scss'

const app = createApp(App)
app.use(store)
app.use(router)
app.use(useRouter)
app.use(ElementPlus, { size: 'small', zIndex: 3000 })
app.use(ElementIcon)
app.mount('#app')